#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
namespace Cephei.QL.Cashflows
{
     // <summary> 
	// ! helper class building a sequence of overnight coupons
	// </summary>
    [Guid ("2AE243AE-5773-4450-A486-976A91752856"),ComVisible(true)]
	public interface IOvernightLeg 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Cashflows.IOvernightLeg WithGearings(Cephei.IVector<Double> gearings);
        
		 Cephei.QL.Cashflows.IOvernightLeg WithNotionals(Cephei.IVector<Double> notionals);
        
		 Cephei.QL.Cashflows.IOvernightLeg WithPaymentAdjustment(QL.Times.BusinessDayConventionEnum convention);
        
		 Cephei.QL.Cashflows.IOvernightLeg WithPaymentDayCounter(Cephei.QL.Times.IDayCounter dc);
        
		 Cephei.QL.Cashflows.IOvernightLeg WithSpreads(Cephei.IVector<Double> spreads);
    }

    // <summary> 
	// ! helper class building a sequence of overnight coupons Factory
	// </summary>
   	[ComVisible(true)]
    public interface IOvernightLeg_Factory // : Collection_Factory<IOvernightLeg, ICell<IOvernightLeg>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IOvernightLeg Create (Cephei.QL.Times.ISchedule schedule, Cephei.QL.Indexes.IOvernightIndex overnightIndex);
    }
}

